package cmd

import (
	"encoding/json"

	"cms/system/helper"
)

func (c *CmdParam) String() string {
	if c != nil {
		bByte, _ := json.Marshal(c)
		return string(bByte)
	}

	return "{}"
}

func (c *CmdParam) Print() {
	helper.Print(c)
}
